package com.service.admin.news.controller.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.service.core.rest.request.PageRequest;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年11月12日</dd>
 * </dl>
 *
 * @author
 */
@Getter
@Setter
public class NewsPageReq extends PageRequest {

    private String title;

    private String lang;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;


    private Integer isNew;
}
